
export interface rtpCapabilitiesType {
    codecs: Codec[];
    headerExtensions: HeaderExtension[];
}

interface HeaderExtension {
    kind: string;
    uri: string;
    preferredId: number;
    preferredEncrypt: boolean;
    direction: string;
}

interface Codec {
    kind: string;
    mimeType: string;
    clockRate: number;
    channels?: number;
    rtcpFeedback: RtcpFeedback[];
    parameters: Parameters;
    preferredPayloadType: number;
}

interface Parameters {
    'x-google-start-bitrate'?: number;
    apt?: number;
}

interface RtcpFeedback {
    type: string;
    parameter: string;
}